package com.sophon.pattern.factory.abstractFactory;

import com.sophon.pattern.factory.vo.BadRawMilk;
import com.sophon.pattern.factory.vo.MainMaterial;
import com.sophon.pattern.factory.vo.MilkProduct;
import com.sophon.pattern.factory.vo.SanJuQingAn;
import com.sophon.pattern.factory.vo.Sanlu;
import com.sophon.pattern.factory.vo.SpecialMaterial;

/**
 * 三鹿牛奶工厂
 * @author Andy G
 *
 */
public class SanluFactory extends AbstractMilkFactory {

	@Override
	MainMaterial makeMainMaterial() {
		return new BadRawMilk();
	}

	@Override
	SpecialMaterial makeSpecialMaterial() {
		return new SanJuQingAn();
	}

	@Override
	MilkProduct makeBrand() {
		return new Sanlu();
	}

}
